{% if not chartview.name %}{% if user %}{% ifequal user.display_name chartview.author.display_name %}
<form action="/econoplot/save_view/" method="POST">
<input type="hidden" name="view_key" value="{{ key }}" />
Save as: <input type="text" name="name" /><input type="submit" value="Save chart" />
</form>
{% endifequal %}{% endif %}{% endif %}
